package com.zhucan.executor.web;

import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
import com.zhucan.executor.domain.entity.ControlModule;
import com.zhucan.executor.domain.mapper.ControlModuleMapper;
import lombok.RequiredArgsConstructor;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import java.util.List;

/**
 * @author zhuCan
 * @description
 * @since 2023/3/17 17:27
 */
@RestController
@RequestMapping("/execute")
@RequiredArgsConstructor
public class ExecutorController {

  private final ControlModuleMapper mapper;

  @GetMapping
  public void execute(){
    List<ControlModule> controlModules = mapper.selectList(new LambdaQueryWrapper<>());
  }
}
